package com.prp.gwt.client.widgets.user.php;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class PHPView extends Composite{

	interface Binder extends UiBinder<Widget, PHPView> {
	}
	
	private static final Binder binder = GWT.create(Binder.class);
	private static PHPView instance;
	
	@UiField UserStateListPanel userStateList;
	@UiField RecentRecommendPanel recentRecommend;
	@UiField MsgBoardPanel msgboard;
	@UiField UserInfoPanel userInfo;
	@UiField FriendsPreviewPanel friendsPreview;
	
	public static PHPView getInstance(){
		if(instance == null)
			instance = new PHPView();
		return instance;
	}

	private PHPView(){
		initWidget(binder.createAndBindUi(this));
		addStyleName("topPanel");
	}
	
}
